NestedPages\Entities\PostType\PostTypeRepository C

Total Complexity 124
Dependencies 1
Dependents 18
Total lines 502
Lines of code 291
Logical lines of code 221
Comment lines 148
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
sortOptionEnabled()
A
58 13 13
thumbnails()
A
54 11 18
defaultSortOption()
S
60 8 11
getSinglePostType()
S
50 6 29
postTypeSetting()
S
61 7 12
taxonomyDisabled()
S
60 7 11
fieldEnabled()
S
60 6 12
getPostTypesObject()
S
46 4 35
quickEditStatuses()
S
54 5 20
getAssignedPages()
S
65 6 8
getTaxonomies()
S
59 5 14
roleCanBulkEdit()
S
68 5 6
standardFieldDisabled()
S
63 5 9
configuredFields()
S
65 4 9
hasSortOptions()
S
64 4 9
getCustomFields()
S
59 3 13
fieldsArray()
S
63 3 9
categoriesEnabled()
S
66 3 8
thumbnailDisplaySize()
S
67 3 8
allPostsLink()
S
68 2 7
editSlug()
S
78 2 3
getMenuSlug()
S
78 2 3
getSubmenuText()
S
73 2 4
setEnabledPostTypes()
S
75 2 4
enabledPostTypes()
S
75 2 4
trashLink()
S
79 1 3
addNewPostLink()
S
79 1 3
getPostTypes()
S
78 1 3
__construct()
S
82 1 3